package tsinghua.smxq.utilitiespayment;


public class Record 
{	
	//public int type;  //类型，0表示水费，1表示电费
	public String recordId;  //账单记录id
	public String cityId;   //城市id
	public int month;
	public float usage; //数量
	public float unitprice; //单价
	public float rate;  //收费总额
	public String hasPaid; //是否已经支付
	
	public Record(String ri,  String ci, int mo, float us, float un, float ra, String ha)
	{
		//this.type = t;
		this.recordId = ri;
		this.cityId = ci;
		this.month = mo;
		 this.usage = us;
		 this.unitprice = un;
		 this.rate = ra;
		 this.hasPaid = ha;
	}
	
	public Record()
	{
		this.recordId = "0";
		this.cityId = "0";
		this.month = 1;
		 this.usage = 0.0f;
		 this.unitprice = 0.0f;
		 this.rate = 0.0f;
		 this.hasPaid = "不知道";
	}
	
}
